automation: Build Xen according to the type of the job
authorMichal Orzel <michal.orzel@amd.com>
Fri, 21 Oct 2022 13:22:38 +0000 (15:22 +0200)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 25 Oct 2022 22:41:30 +0000 (15:41 -0700)
commitef9cc669ba157f9e71fd79722ee43892e7304604
treec07c9f2b23d08b8050d437d2db1af6ea1d93b0ed
parentaef07fd1868455e572b46b3e88e2679414b07214
automation: Build Xen according to the type of the job

All the build jobs exist in two flavors: debug and non-debug, where the
former sets 'debug' variable to 'y' and the latter to 'n'. This variable
is only being recognized by the toolstack, because Xen requires
enabling/disabling debug build via e.g. menuconfig/config file.
As a corollary, we end up building/testing Xen with CONFIG_DEBUG always
set to a default value ('y' for unstable and 'n' for stable branches),
regardless of the type of the build job.

Fix this behavior by setting CONFIG_DEBUG according to the 'debug' value.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
automation/scripts/build